package com.qiangqiang.resoldhouse.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * @author: zqh
 * @date: 2018/8/14 9:16
 * @description:
 */
@Data
@TableName("appointment")
public class Appointment {

    //预约id
    @TableId("appointment_id")
    private Long appointmentId;

    //预约的房子的id
    private Long houseId;

    //预约看房的用户的id
    private Long userId;

    //预约的房源经纪人的id
    private Long agentId;

    //本次预约的评价的id，如果为空，说明未评价
    private Long commentId;

    //预约看房的时间
    private Long orderTime;

    //预约备注
    private String remark;
}
